//
//  Common.swift
//  mySina
//
//  Created by 刘莹 on 2016/11/15.
//  Copyright © 2016年 liuying. All rights reserved.
//

import UIKit
//第三方登录授权配置信息
let client_id = "3147315304"
let client_secret = "e8c409f982a4f2cc244d12634ceb4584"

//let grant_type
let redirect_uri = "http://www.baidu.com"
//定义切换根视图控制器的通知名称
let kChoseRootViewController = "kChoseRootViewController"
//SVProgressHUD错误提示
let errorTip = "没网..."

//随机色
func randomColor() -> UIColor {
    let r = CGFloat(arc4random() % 256) / 255.0
    let g = CGFloat(arc4random() % 256) / 255.0
    let b = CGFloat(arc4random() % 256) / 255.0
    return UIColor(red: r, green:g, blue: b, alpha: 1)
}


//屏幕的尺寸信息
let ScreenWidth = UIScreen.main.bounds.width

let ScreenHeight = UIScreen.main.bounds.height
